package com.hpch.business.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableLogic;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 网站资讯分类
 *
 * @author EleAdmin
 * @since 2025-03-02 19:12:18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "Classify对象", description = "网站资讯分类")
@TableName("bus_classify")
public class Classify implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "是否删除")
    @TableLogic
    private Integer deleted;

    private Date createTime;

    private Date updateTime;

    private Integer tenantId;

    @ApiModelProperty(value = "栏目名称")
    private String catname;

    @ApiModelProperty(value = "唯一标识")
    private String catdir;

    @ApiModelProperty(value = "类别 0 列表 1 单页 3 专题专栏样式")
    private Integer type;

    @ApiModelProperty(value = "模型ID 1 新闻动态 值就是parentid")
    private Integer modelid;

    @ApiModelProperty(value = "父ID")
    private Integer parentid;

    @ApiModelProperty(value = "所有父id")
    private String arrparentid;

    @ApiModelProperty(value = "是否存在子栏目，1存在")
    private Boolean child;

    @ApiModelProperty(value = "栏目图片")
    private String image;

    @ApiModelProperty(value = "栏目图标")
    private String icon;

    @ApiModelProperty(value = "栏目描述")
    private String description;

    @ApiModelProperty(value = "链接地址")
    private String url;

    @ApiModelProperty(value = "文档数量")
    private Integer items;

    @ApiModelProperty(value = "排序")
    private Integer listorder;

    @ApiModelProperty(value = "状态")
    private Integer statusFlag;

    @ApiModelProperty(value = "1 正常显示 0 隐藏")
    private Integer isShow;

    @ApiModelProperty(value = "0 不可推荐 1 可推荐 可推荐的是指可以共享的")
    private Boolean isRecommend;

}
